﻿@model GameSchool.Views.ViewModels.ViewVideoViewModel
@{
    ViewBag.Title = "Skoða myndband";
}
<ul class="breadcrumb">  
	<li><a href="/Home">Forsíða</a> <span class="divider">></span></li>  
	<li><a href="/Home">Myndbönd</a> <span class="divider">></span></li>  
	<li class="active">@Model.Video.Title</li>
</ul>
<div class="well">
	<h2>@Model.Video.Title</h2>
	<iframe title="Vefspilari í boði Youtube" width="480" height="390" src="@Model.Video.VideoUrl" frameborder="0" allowfullscreen></iframe>
	</div>
	
	@foreach (var n in Model.Comments)
	{
		<div class="well">
			<strong>@n.Date</strong>
			<br />	
			@n.CommentText
			<br />
			<br />
		</div>
	}
	<br />

	<a class="btn btn-primary" href="/Comment/CreateComment/@Model.Video.ID">Skrá athugasemd</a>
	<br />
	<br />
	<br />